Skip to main content
Version: 2.0.0

How to Send a Query

Web UI

Use the platform UI to submit queries and view responses returned by the registered agents.


REST API

Endpoint

POST /chat/query

Request

{
"query": "Your question here"
}

Response

{
"final_answer": "...",
"plan": [],
"agent_results": {},
"decision_trail": [],
"error": null
}

Response Fields

Response FieldWhat it Contains
final_answerThe synthesised response returned to the user
planThe sub-task plan generated by the Planner
agent_resultsIndividual outputs from each agent that was invoked
decision_trailA log of routing decisions made by the Supervisor
errorError message if something went wrong

Query Processing Pipeline

1. Guardrails
2. Prompt Refiner
3. Planner
4. Supervisor
5. Agent Execution
6. Aggregator
7. Final Response

Registering Your Agent

Step 1 — Register the Agent

Endpoint

POST /agents/register
FieldRequiredDescription
agent_nameyesUnique identifier for the agent
display_nameyesHuman-readable name shown in the UI
versionyesVersion string
owner_teamyesName of the team responsible
contact_emailyesContact email
elaborated_descriptionyesDetailed description
endpoint_urlyesBase URL where the agent is hosted
auth_typeyesAuthentication method
auth_credentialConditionalRequired if auth_type is BEARER

Step 2 — Register the Agent's APIs

Endpoint

POST /agents/{agent_name}/apis/register

Step 3 — Verify Registration

EndpointWhat it Returns
GET /agentsList of all registered agents
GET /agents/{agent_name}/apisAll APIs registered for a specific agent